package com.ropeok.entity;

/**
 * @BelongsProject: task2
 * @BelongsPackage: com.ropeok.entity
 * @Author: zhofeifan
 * @CreateTime: 2022-08-23  14:22
 * @Description: 用户权限
 * @Version: 1.0
 */
public class RolePrivilege   {
      private  long id;//id
      private long RoleID;//角色id
      private  long privilegeID;//权限id

    public RolePrivilege() {
    }

    public RolePrivilege(long id, long roleID, long privilegeID) {
        this.id = id;
        RoleID = roleID;
        this.privilegeID = privilegeID;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getRoleID() {
        return RoleID;
    }

    public void setRoleID(long roleID) {
        RoleID = roleID;
    }

    public long getPrivilegeID() {
        return privilegeID;
    }

    public void setPrivilegeID(long privilegeID) {
        this.privilegeID = privilegeID;
    }

    @Override
    public String toString() {
        return "RolePrivilege{" +
                "id=" + id +
                ", RoleID=" + RoleID +
                ", privilegeID=" + privilegeID +
                '}';
    }
}
